import re

if __name__ == '__main__':
    text = "this is  some text for test"
    results = text.split()
    print(results)

    # results = text.split(sep=r"\s")
    # print(results)

    results = re.split(pattern=r"\s", string=text)
    print(results)

    results = re.split(pattern=r"\s+", string=text)
    print(results)